package lol.clann.minecraft.springboot.api.annotation.condition;

import java.lang.annotation.Documented;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;

/**
 * Conditional扩展,类似{@ConditionalOnProperty} 不过是从被注解的类所属插件的配置文件里读取
 *
 * @author pyz
 * @date 2019/6/1 10:26 AM
 */
@Retention(RetentionPolicy.RUNTIME)
@Documented
public @interface MinecraftVersionRange {

    int min() default Integer.MIN_VALUE;

    int max() default Integer.MAX_VALUE;
}
